package com.example.eventexample.route

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.example.eventexample.R
import com.zee.annotation.ActivityTag
import com.zee.extendobject.eventBusRegister
import com.zee.extendobject.eventBusRegisterBindCurActivity
import com.zee.log.ZLog
import com.zee.utils.ZEventBusUtils
import kotlinx.android.synthetic.main.activity_activity_tag.*
import startActivityTag

@ActivityTag(name = "第二个Activity",  keyWords = "登录成功判断")
class RouteTestActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        ZLog.i("RouteTestActivity onCreate()")
        eventBusRegisterBindCurActivity(this)
        setContentView(R.layout.activity_activity_tag)
        eventBus_activity_tag_a.setOnClickListener {
            startActivityTag("secondTag","dier")
        }
    }

}
